﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WCS.Infrastructure.Attr;
using WCS.Service.EFCore;

namespace WCS.Infrastructure.IOC
{
    [Provider, Inject]
    public class CouponIOC
    {
        public readonly SysUserEFCore _sysUserEFCore;
        public readonly MerchantEFCore _merchantEFCore;
        public readonly StoreEFCore _storeEFCore;
        public readonly CouponTemplateEFCore _couponTemplateEFCore;
        public readonly CouponInstanceEFCore _couponInstanceEFCore;
        public readonly CouponPackageEFCore _couponPackageEFCore;
        public readonly CouponPackageItemEFCore _couponPackageItemEFCore;
        public readonly CouponPackageReceiveRecordEFCore _couponPackageReceiveRecordEFCore;
        public readonly SysUserMiniProgramEFCore _sysUserMiniProgramEFCore;
        public readonly CouponConsumptionRecordEFCore _couponConsumptionRecordEFCore;
        public readonly LotteryActivityEFCore _lotteryActivityEFCore;
        public readonly LotteryClaimRecordEFCore _lotteryClaimRecordEFCore;
        public readonly LotteryPrizeEFCore _lotteryPrizeEFCore;

        public CouponIOC(SysUserEFCore sysUserEFCore, MerchantEFCore merchantEFCore, StoreEFCore storeEFCore, CouponTemplateEFCore couponTemplateEFCore,
            CouponInstanceEFCore couponInstanceEFCore, CouponPackageEFCore couponPackageEFCore, CouponPackageItemEFCore couponPackageItemEFCore,
            CouponPackageReceiveRecordEFCore couponPackageReceiveRecordEFCore , SysUserMiniProgramEFCore sysUserMiniProgramEFCore,
            CouponConsumptionRecordEFCore couponConsumptionRecordEFCore , 
            LotteryActivityEFCore lotteryActivityEFCore, LotteryClaimRecordEFCore lotteryClaimRecordEFCore, LotteryPrizeEFCore lotteryPrizeEFCore) 
        {
            _sysUserEFCore = sysUserEFCore;
            _merchantEFCore = merchantEFCore;
            _storeEFCore = storeEFCore;
            _couponTemplateEFCore = couponTemplateEFCore;
            _couponInstanceEFCore = couponInstanceEFCore;
            _couponPackageEFCore = couponPackageEFCore;
            _couponPackageItemEFCore = couponPackageItemEFCore;
            _couponPackageReceiveRecordEFCore = couponPackageReceiveRecordEFCore;
            _sysUserMiniProgramEFCore = sysUserMiniProgramEFCore;
            _couponConsumptionRecordEFCore = couponConsumptionRecordEFCore;
            _lotteryActivityEFCore = lotteryActivityEFCore;
            _lotteryClaimRecordEFCore = lotteryClaimRecordEFCore;
            _lotteryPrizeEFCore = lotteryPrizeEFCore;
        }
    }
}
